package io.rehuo.modules.app.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.rehuo.modules.app.dao.BankDao;
import io.rehuo.modules.app.entity.BankEntity;
import io.rehuo.modules.app.service.BankService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shiguang on 2022/9/14 15:37
 */
@Service("bankService")
public class BankServiceImpl extends ServiceImpl<BankDao, BankEntity> implements BankService {

    @Override
    public List<BankEntity> getList() {
        return baseMapper.selectList(new QueryWrapper<BankEntity>().orderByAsc("simple_name"));
    }
}
